package com.gao.service.impl;

import com.gao.mapper.PermissionMapper;
import com.gao.mapper.RoleMapper;
import com.gao.mapper.UserMapper;
import com.gao.service.AuthService;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author gao
 * @time 2022/11/25 11:29:47
 */
@Service
@Transactional(rollbackFor = Exception.class)
@RequiredArgsConstructor
public class AuthServiceImpl implements AuthService {
    @NonNull
    private UserMapper userMapper;
    @NonNull
    private RoleMapper roleMapper;
    @NonNull
    private PermissionMapper permissionMapper;
}
